/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package com.lifesting.wfs.Runtime;

import java.util.Stack;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Context</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.lifesting.wfs.Runtime.Context#getToken <em>Token</em>}</li>
 *   <li>{@link com.lifesting.wfs.Runtime.Context#getParent <em>Parent</em>}</li>
 *   <li>{@link com.lifesting.wfs.Runtime.Context#getStack <em>Stack</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.lifesting.wfs.Runtime.RuntimePackage#getContext()
 * @model
 * @generated
 */
public interface Context extends EObject {

	/**
	 * Returns the value of the '<em><b>Token</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link com.lifesting.wfs.Runtime.Token#getContext <em>Context</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Token</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Token</em>' container reference.
	 * @see #setToken(Token)
	 * @see com.lifesting.wfs.Runtime.RuntimePackage#getContext_Token()
	 * @see com.lifesting.wfs.Runtime.Token#getContext
	 * @model opposite="context" transient="false"
	 * @generated
	 */
	Token getToken();

	/**
	 * Sets the value of the '{@link com.lifesting.wfs.Runtime.Context#getToken <em>Token</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Token</em>' container reference.
	 * @see #getToken()
	 * @generated
	 */
	void setToken(Token value);

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' reference.
	 * @see #setParent(Context)
	 * @see com.lifesting.wfs.Runtime.RuntimePackage#getContext_Parent()
	 * @model
	 * @generated
	 */
	Context getParent();

	/**
	 * Sets the value of the '{@link com.lifesting.wfs.Runtime.Context#getParent <em>Parent</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(Context value);

	/**
	 * Returns the value of the '<em><b>Stack</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Stack</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Stack</em>' attribute.
	 * @see #setStack(Stack)
	 * @see com.lifesting.wfs.Runtime.RuntimePackage#getContext_Stack()
	 * @model dataType="com.lifesting.wfs.Runtime.JavaStack<com.lifesting.wfs.Runtime.VariableFrame>"
	 * @generated
	 */
	Stack<VariableFrame> getStack();

	/**
	 * Sets the value of the '{@link com.lifesting.wfs.Runtime.Context#getStack <em>Stack</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Stack</em>' attribute.
	 * @see #getStack()
	 * @generated
	 */
	void setStack(Stack<VariableFrame> value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	EObject findVariable(String varName);
} // Context
